'use strict'

const fs = require('fs')
const path = require('path')

console.log('config.js start ...')

exports.getDefalutConfig = ()=>{
    const jsonPath = path.resolve(__dirname,'../conf/config.json')
    console.log(jsonPath)
    let data = JSON.parse(fs.readFileSync(jsonPath))
    return data
}